<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META NAME="AUTHOR" CONTENT="Sabuj Das">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<meta http-equiv="pragma" content="no-cache">
<META NAME="KEYWORDS"
	CONTENT="Spring, Hibernate, JMS, ActiveMQ, Security, GWT, Experimental">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="refresh"
	content="<%=session.getMaxInactiveInterval()%>;url=<%=request.getContextPath()%>/welcome.htm" />


<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/GmsMessenger.css" />

<title><fmt:message key="applicationTitle" /></title>
</head>
<body>

	
	<div id="register-wrapper">
		<form:form action="doRegister.htm" method="post" commandName="user">
			<table width="420">
				<caption>Register</caption>
				<tr>
					<td width="60">User Name:</td>
					<td width="200" align="right">
						<form:input type="text"
						path="userName" cssStyle="width: 180px;" maxlength="50"
						cssClass="text-box text-aqua"/>
					</td>
					<td width="200" align="left">
						<form:errors path="userName" cssStyle="width: 180px;"/>
					</td>
				</tr>
				<tr>
					<td width="60">Password:</td>
					<td width="200" align="right">
						<form:input type="password"
						path="password" cssStyle="width: 180px;" maxlength="50"
						cssClass="text-box text-aqua"/>
					</td>
					<td width="200" align="left">
						<form:errors path="password" cssStyle="width: 180px;"/>
					</td>
				</tr>
				
				<tr>
					<td width="60">First Name:</td>
					<td width="200" align="right">
						<form:input type="text"
						path="firstName" cssStyle="width: 180px;" maxlength="50"
						cssClass="text-box text-aqua"/>
					</td>
					<td width="200" align="left">
						<form:errors path="firstName" cssStyle="width: 180px;"/>
					</td>
				</tr>
				<tr>
					<td width="60">Last Name:</td>
					<td width="200" align="right">
						<form:input type="text"
						path="lastName" cssStyle="width: 180px;" maxlength="50"
						cssClass="text-box text-aqua"/>
					</td>
					<td width="200" align="left">
						<form:errors path="lastName" cssStyle="width: 180px;"/>
					</td>
				</tr>
				<tr>
					<td width="60">Email:</td>
					<td width="200" align="right">
						<form:input type="text"
						path="emailAddress" cssStyle="width: 180px;" maxlength="50"
						cssClass="text-box text-aqua"/>
					</td>
					<td width="200" align="left">
						<form:errors path="emailAddress" cssStyle="width: 180px;"/>
					</td>
				</tr>
				<tr>
					<td width="60"></td>
					<td width="200" align="right"><input type="submit"
						value="Register" class="blueButton"></td>
				</tr>
			</table>
		
		</form:form>
		
	</div>
</body>
</html>